using NewFormatProject.Infrastructure.EFCore;
using NewFormatProject.Infrastructure.Dto.Responses.Objects;
namespace NewFormatProject.Server.Instances.Extends.Entitys
{
	public static class SysErrorLogsExtend
{
		public static ResponseSysErrorLogsDto ToResponseDto(this SysErrorLogs entity)
{			return new ResponseSysErrorLogsDto
			{
				id = entity.ElId,
				message = entity.ElMessage,
				@params = entity.ElParams,
				url = entity.ElUrl,
				stackTrack = entity.ElStackTrack,
				errorTime = entity.ElErrorTime,
				createTime = entity.ElCreateTime,
			};
		}
	}
}
